home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / eulisp / mpfeel.lha / MPFeel / Plurals / p_random.h < prev    next >
C/C++ Source or Header  |  1992-04-27  |  1KB  |  36 lines

  1. /******************************************************************************
  2.  
  3.    Copyright 1991,1992 Lee Iverson
  4.  
  5.    Author:
  6.      Lee Iverson <leei@mcrcim.mcgill.edu>,
  7.      McGill Research Centre for Intelligent Machines (McRCIM)
  8.  
  9.    See <McImage/copyright.h> for complete copyright information.
  10.  
  11.    $Id: p_random.h,v 1.2 92/01/23 17:33:57 leei Exp $
  12.  
  13. ******************************************************************************/
  14.  
  15. #ifndef _p_random_h_
  16. #define _p_random_h_
  17.  
  18. #include "proto.h"
  19.  
  20. #if defined(_MPL) || !DPU
  21. void p_random_init __((int seed));
  22.  
  23. plural double p_frandom __(());
  24. plural double p_uniform_random __(( plural double lo, plural double hi ));
  25. plural double p_normal_random __(( plural double stdev ));
  26. #define p_gaussian_random p_normal_random
  27.  
  28. plural float fp_frandom __(());
  29. plural float fp_uniform_random __(( plural float lo, plural float hi ));
  30. plural float fp_normal_random __(( plural float stdev ));
  31. #define fp_gaussian_random fp_normal_random
  32.  
  33. #endif _MPL
  34.  
  35. #endif /* _p_random_h_ */
  36.